packer: Use dist-upgrade instead of upgrade - #2353
Merged
mmlb merged 1 commit intoSep 1, 2026
Merged
Conversation
mmlb
force-pushed
the
manny/psql-1451-do-apt-get-dist-upgrade-instead-of-apt-get-upgrade
branch
3 times, most recently
from
August 10, 2026 19:57
5444465 to
f224629
Compare
mmlb
force-pushed
the
manny/psql-1451-do-apt-get-dist-upgrade-instead-of-apt-get-upgrade
branch
from
August 24, 2026 15:42
f224629 to
ebe2013
Compare
dist-upgrade ensures new packages are installed and unnecessary are removed while upgrade only upgrades packages. Using dist-upgrade gets us closer to inteded state according to metadata files.
mmlb
force-pushed
the
manny/psql-1451-do-apt-get-dist-upgrade-instead-of-apt-get-upgrade
branch
from
August 31, 2026 21:41
ebe2013 to
95f47dc
Compare
Collaborator
Author
|
@claude review |
samrose
approved these changes
Sep 1, 2026
brainrake
approved these changes
Sep 1, 2026
mmlb
deleted the
manny/psql-1451-do-apt-get-dist-upgrade-instead-of-apt-get-upgrade
branch
September 1, 2026 13:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Maintenance
What is the current behavior?
All but one of apt upgrading scripts do a plain
upgrade,chroot-bootstrap-nix.shis the odd script out. This is not ideal because we are being inconsistent andupgradeisn't as good asdist-upgrade.What is the new behavior?
We use
dist-upgradeinstead ofupgradeand do so any time we do an apt-get --update (ignoring adding new mirror).